package org.lld.im.service.friendship.model.req;

import lombok.Data;
import org.lld.im.common.enums.FriendShipStatusEnum;
import org.lld.im.common.model.RequestBase;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author: LunBoWang
 * @description: 批量导入好友关系
 * @date: 2025/3/14 下午4:48
 * @version: 1.0
 */
@Data
public class ImportFriendShipReq extends RequestBase {
    @NotBlank(message = "fromId不能为空")
    private String fromId;
    private List<ImportFriendDto> friendItem;

    @Data
    public static class ImportFriendDto {
        private String ToId;
        private String remark;
        private String addSource;
        private Integer status= FriendShipStatusEnum.FRIEND_STATUS_NORMAL.getCode();
        private Integer black=FriendShipStatusEnum.BLACK_STATUS_NORMAL.getCode();
    }
}
